from django.contrib import admin
from .models.task import Task


# Register your models here.

@admin.register(Task)
class TaskModelAdmin(admin.ModelAdmin):
    list_display = ['title', 'pub_data', 'start_time', 'end_time', 'author', 'algorithm']
    list_display_links = ['title']
    search_fields = ['title']
    list_filter = ['title']
